<template lang="pug">
  DataTablePage(
    resource="/pn/dpa/pressureAreaVersion"
    '模态框标题'
    title="分区版本管理"
    label="分区版本"
    labelName="name"
    :toolbar="toolbar"
    :tableFullList="tableFullList"
    :tableInitList="tableInitList"
    :filterFullList="filterFullList"
    :filterInitList="filterInitList"
    :operation="operation"
    :createList="createList"
    :updateList="updateList"
    :createFormValues="createFormValues"
    :columns="columns")
</template>

<script>
// 引入组件
import DataTablePage from '@/containers/DataTablePage'
import { toolbarCreate } from '@/containers/DataTablePage/toolbar'
import SmartForm from '@/components/SmartForm'
import SmartDialog from '@/components/SmartDialog'
// 引入操作方法
import { operationUpdate, operationDelete } from '@/containers/DataTablePage/operation'
// 引入表配置
import config from '../../config/pressureAreaVersion.js'
export default {
  name: 'account',
  components: {
    SmartDialog,
    DataTablePage,
    SmartForm
  },
  data () {
    // 编辑 删除操作
    return {
      ...config,
      toolbar: [{
        ...toolbarCreate
      }],
      operation: [{
        ...operationUpdate
      }, {
        ...operationDelete
      }]
      // createFormValues: {}
    }
  }
}
</script>

<style lang="sass" scoped>

</style>
